package com.lixn.homework.service.impl;

import com.lixn.homework.dao.ResumeDao;
import com.lixn.homework.pojo.Resume;
import com.lixn.homework.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("resumeService")
public class ResumeImpl implements ResumeService {

    @Autowired
    private ResumeDao resumeDao;


    @Override
    public List<Resume> queryAll() throws Exception {
        return resumeDao.findAll();
    }
}
